package com.example.yc23.demo.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.yc23.demo.pojo.Film;
import com.example.yc23.demo.pojo.FilmType;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;

@Repository
public interface FilmTypeMapper extends BaseMapper<FilmType> {
    @Select("select * from film where type like %#{ftype}% ")
    Film selectdata(@Param("ftype")String type);
}
